package edu.gduf.service;

import java.io.OutputStream;

/**
 * 
 * @author hhx
 *
 */

public interface QRCodeService {
	/**
	 * 
	 * @param tid
	 * @param startTime
	 * @param endTime
	 *            二维码以json传输数据,Android端fastjson反序列化得到javabean ->
	 *            edu.gduf.dto.QRCodeDTO
	 */
	public void createQRCode(int tid, long startTime, long endTime, int classId, String courceName,
			OutputStream out);

	public void getQRCode(OutputStream out, String ip) throws Exception;


}
